export const CollapsedReducer =  (preState=true,action) => {
    switch(action.type) {
        case 'dec':
            let newState = !preState;
            return newState;
        default:
            return preState;
    }
    return preState;
}